package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.StrategyCatalog;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyCatalogService {

    PageInfo<StrategyCatalog> selectList(QueryObject qo);

    List<StrategyCatalog> selectAll();

    void saveOrUpdate(StrategyCatalog strategyCatalog);

    List<StrategyCatalog> selectListByStrateId(Long strateId);

    void updateStateById(Long id, boolean state);

    List<StrategyCatalog> selectByStrategyId(Long strategyId);
}
